package com.itgaohe.dto;

import lombok.Data;


import java.time.LocalDateTime;

@Data
public class VoucherDTO {
    // 基础字段 (来自tb_voucher)
    private Long id;
    private Long shopId;
    private String title;
    private String subTitle;
    private String rules;
    private Long payValue;
    private Long actualValue;
    private Integer type; // 0-普通券, 1-秒杀券
    private Integer status;

    // 秒杀券专用字段 (来自tb_seckill_voucher)
    private Integer stock;
    private LocalDateTime beginTime;
    private LocalDateTime endTime;
}